<?php
namespace Home\Controller;
use Think\Controller;
class FormController extends Controller{
    //显示表单
    public function add(){
    	$this->display();
    }

    //处理表单
    public function insert(){
    	$db   =   M('Form');
        $data['title'] = I('post.title');
        $data['content'] = I('post.content');
       $db->add($data);
    }


}